package com.sdu.shanyimisapi.db.dao;

import com.sdu.shanyimisapi.db.pojo.AppUserEntity;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
 * @author lihaopeng
 * @version 1.0
 * @project shanyi-mis-api
 * @description App用户
 * @since 2024/4/13 22:00
 */
public interface AppUserDao {
    public ArrayList<HashMap> searchByPage(Map param);
    public long countAppUser(Map param);
    public HashMap searchById(int id);
    public void updateAvatar(Map param);
    @Transactional
    public void insertAppUser(AppUserEntity appUserEntity);
    public Integer searchIdByUsername(String username);
    public Integer countAppUserByUsername(String username);
    public void updateAppUser(Map param);
    public void deleteAppUser(Integer[] ids);
}
